<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>成员管理操作 - 企业社交平台</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    /* 基础样式 */
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f7fa;
      color: #333;
      margin: 0;
      padding-bottom: 70px;
    }
    
    /* 顶部导航 */
    .top-nav {
      height: 50px;
      background-color: #fff;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: center;
      padding: 0 15px;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .nav-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0 auto;
    }
    
    .nav-btn {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      text-decoration: none;
    }
    
    /* 样式切换器 */
    .style-switcher {
      background-color: #fff;
      padding: 10px 15px;
      border-bottom: 1px solid #eee;
    }
    
    .style-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 5px;
    }
    
    .style-tabs::-webkit-scrollbar {
      display: none;
    }
    
    .style-tab {
      padding: 6px 14px;
      background-color: #f5f7fa;
      border-radius: 20px;
      font-size: 14px;
      white-space: nowrap;
      cursor: pointer;
    }
    
    .style-tab.active {
      background-color: #1890ff;
      color: white;
    }
    
    /* 通用成员信息头部 */
    .member-header {
      background-color: #fff;
      padding: 15px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #eee;
    }
    
    .member-avatar {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 15px;
      flex-shrink: 0;
      border: 2px solid #f0f0f0;
    }
    
    .member-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .member-info {
      flex: 1;
    }
    
    .member-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 3px;
      display: flex;
      align-items: center;
    }
    
    .admin-badge {
      background-color: #e6f7ff;
      color: #1890ff;
      font-size: 12px;
      padding: 1px 6px;
      border-radius: 4px;
      margin-left: 8px;
    }
    
    .member-position {
      font-size: 14px;
      color: #666;
      margin-bottom: 5px;
    }
    
    .member-department {
      font-size: 13px;
      color: #999;
    }
    
    /* 通用操作页面样式 */
    .operation-page {
      display: none;
    }
    
    .operation-page.active {
      display: block;
    }
    
    /* 操作区域容器 */
    .operation-container {
      margin-top: 10px;
    }
    
    /* 操作卡片 */
    .operation-card {
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 10px;
      overflow: hidden;
    }
    
    .card-title {
      padding: 12px 15px;
      font-size: 15px;
      font-weight: 600;
      color: #666;
      border-bottom: 1px solid #f5f5f5;
    }
    
    /* 操作项样式 */
    .operation-item {
      padding: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #f5f5f5;
      cursor: pointer;
    }
    
    .operation-item:last-child {
      border-bottom: none;
    }
    
    .operation-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #f0f7ff;
      color: #1890ff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      flex-shrink: 0;
    }
    
    .operation-info {
      flex: 1;
    }
    
    .operation-title {
      font-size: 16px;
      margin-bottom: 2px;
    }
    
    .operation-desc {
      font-size: 13px;
      color: #999;
    }
    
    .operation-arrow {
      color: #ccc;
      font-size: 18px;
    }
    
    /* 表单样式 */
    .form-group {
      padding: 15px;
      border-bottom: 1px solid #f5f5f5;
    }
    
    .form-label {
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
      font-weight: 500;
      color: #333;
    }
    
    .form-control {
      width: 100%;
      padding: 10px 12px;
      border-radius: 6px;
      border: 1px solid #ddd;
      font-size: 15px;
      box-sizing: border-box;
    }
    
    .form-control:focus {
      outline: none;
      border-color: #1890ff;
      box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    }
    
    /* 选项组 */
    .options-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 5px;
    }
    
    .option-item {
      padding: 8px 15px;
      border-radius: 20px;
      border: 1px solid #ddd;
      font-size: 14px;
      cursor: pointer;
      white-space: nowrap;
    }
    
    .option-item.selected {
      border-color: #1890ff;
      background-color: #e6f7ff;
      color: #1890ff;
    }
    
    /* 权限项 */
    .permission-item {
      display: flex;
      align-items: center;
      padding: 12px 15px;
      border-bottom: 1px solid #f5f5f5;
    }
    
    .permission-info {
      flex: 1;
    }
    
    .permission-title {
      font-size: 16px;
      margin-bottom: 3px;
    }
    
    .permission-desc {
      font-size: 13px;
      color: #999;
    }
    
    /* 开关按钮 */
    .switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 26px;
    }
    
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 34px;
    }
    
    .slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }
    
    input:checked + .slider {
      background-color: #1890ff;
    }
    
    input:checked + .slider:before {
      transform: translateX(24px);
    }
    
    /* 批量操作选择框 */
    .batch-select {
      display: flex;
      align-items: center;
      padding: 0 15px;
    }
    
    .select-all {
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }
    
    /* 底部操作栏 */
    .action-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: #fff;
      border-top: 1px solid #eee;
      padding: 10px 15px;
      display: flex;
      gap: 10px;
      z-index: 90;
    }
    
    .action-btn {
      padding: 10px 0;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      flex: 1;
      text-align: center;
      border: none;
    }
    
    .btn-normal {
      background-color: #f5f5f5;
      color: #666;
    }
    
    .btn-primary {
      background-color: #1890ff;
      color: white;
    }
    
    .btn-danger {
      background-color: #ff4d4f;
      color: white;
    }
    
    /* 样式1 - 标准操作列表布局 */
    .list-style .operation-item {
      transition: background-color 0.2s;
    }
    
    .list-style .operation-item:hover {
      background-color: #f5f7fa;
    }
    
    .list-style .danger-operation {
      color: #ff4d4f;
    }
    
    .list-style .danger-operation .operation-icon {
      background-color: #fff2f0;
      color: #ff4d4f;
    }
    
    /* 样式2 - 分类卡片网格布局 */
    .grid-style .operation-container {
      padding: 10px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
    }
    
    .grid-style .operation-card {
      margin-bottom: 0;
      padding: 15px 10px;
      text-align: center;
    }
    
    .grid-style .operation-icon {
      margin-right: 0;
      margin: 0 auto 10px;
    }
    
    .grid-style .operation-title {
      font-size: 14px;
      margin-bottom: 0;
    }
    
    .grid-style .operation-arrow {
      display: none;
    }
    
    .grid-style .operation-info {
      text-align: center;
    }
    
    .grid-style .operation-item {
      flex-direction: column;
      padding: 10px 5px;
    }
    
    .grid-style .danger-operation .operation-icon {
      background-color: #fff2f0;
      color: #ff4d4f;
    }
    
    .grid-style .danger-operation .operation-title {
      color: #ff4d4f;
    }
    
    /* 样式3 - 分类分组布局 */
    .group-style .operation-card {
      margin-bottom: 15px;
    }
    
    .group-style .operation-group {
      margin-top: 15px;
    }
    
    .group-style .card-title {
      background-color: #f5f7fa;
      font-weight: 600;
      color: #333;
    }
    
    .group-style .operation-item {
      transition: background-color 0.2s;
    }
    
    .group-style .operation-item:hover {
      background-color: #f5f7fa;
    }
    
    /* 样式4 - 批量表单表单布局 */
    .form-style .operation-card {
      margin-bottom: 15px;
    }
    
    .form-style .form-actions {
      display: flex;
      gap: 10px;
      padding: 15px;
    }
    
    .form-style .form-action-btn {
      flex: 1;
      padding: 10px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      text-align: center;
    }
    
    /* 提示框 */
    .toast {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      background-color: rgba(0,0,0,0.8);
      color: white;
      border-radius: 8px;
      padding: 10px 15px;
      font-size: 14px;
      z-index: 1000;
      display: none;
    }
  </style>
</head>
<body>
  <!-- 提示框 -->
  <div class="toast" id="toast"></div>
  
  <!-- 顶部导航 -->
  <nav class="top-nav">
    <a href="#" class="nav-btn" id="backBtn">
      <i class="fa fa-angle-left"></i>
    </a>
    <h1 class="nav-title">成员管理操作</h1>
    <a href="#" class="nav-btn" id="moreBtn">
      <i class="fa fa-ellipsis-v"></i>
    </a>
  </nav>
  
  <!-- 样式切换器 -->
  <div class="style-switcher">
    <div class="style-tabs">
      <div class="style-tab active" data-style="list">列表布局</div>
      <div class="style-tab" data-style="grid">卡片网格</div>
      <div class="style-tab" data-style="group">分类分组</div>
      <div class="style-tab" data-style="form">操作表单</div>
    </div>
  </div>
  
  <!-- 成员信息头部 -->
  <div class="member-header">
    <div class="member-avatar">
      <img src="https://picsum.photos/id/2/200/200" alt="成员头像">
    </div>
    <div class="member-info">
      <div class="member-name">
        李婷
      </div>
      <div class="member-position">产品经理</div>
      <div class="member-department">产品部 | 加入时间: 2023-03-22</div>
    </div>
  </div>
  
  <!-- 样式1 - 操作列表表布局 -->
  <div class="operation-page active list-style" id="list">
    <div class="operation-container">
      <!-- 基础操作 -->
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已发送消息')">
          <div class="operation-icon">
            <i class="fa fa-comment"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">发送消息</div>
            <div class="operation-desc">直接发送私信沟通</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        
        <div class="operation-item" onclick="showToast('已查看完整资料')">
          <div class="operation-icon">
            <i class="fa fa-user"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">查看完整资料</div>
            <div class="operation-desc">查看联系方式、入职时间等详细信息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        
        <div class="operation-item" onclick="showToast('已编辑成员信息')">
          <div class="operation-icon">
            <i class="fa fa-pencil"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">编辑成员信息</div>
            <div class="operation-desc">修改职位、部门等基本信息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <!-- 权限管理 -->
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已修改成员角色')">
          <div class="operation-icon">
            <i class="fa fa-key"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">修改成员角色</div>
            <div class="operation-desc">普通成员 / 管理员</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        
        <div class="operation-item" onclick="showToast('已设置成员权限')">
          <div class="operation-icon">
            <i class="fa fa-shield"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">设置成员权限</div>
            <div class="operation-desc">管理、编辑、查看等权限分配</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        
        <div class="operation-item" onclick="showToast('已转移部门')">
          <div class="operation-icon">
            <i class="fa fa-sitemap"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">转移至其他部门</div>
            <div class="operation-desc">当前部门: 产品部</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <!-- 高级操作 -->
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已禁用账号')">
          <div class="operation-icon">
            <i class="fa fa-lock"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">暂时禁用账号</div>
            <div class="operation-desc">限制登录，保留数据</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        
        <div class="operation-item danger-operation" onclick="showToast('已发送除成员')">
          <div class="operation-icon">
            <i class="fa fa-times"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">移除该成员</div>
            <div class="operation-desc">从企业中永久删除</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- 样式2 - 卡片网格布局 -->
  <div class="operation-page grid-style" id="grid">
    <div class="operation-container">
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已发送消息')">
          <div class="operation-icon">
            <i class="fa fa-comment"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">发送消息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已查看完整资料')">
          <div class="operation-icon">
            <i class="fa fa-user"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">查看资料</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已编辑成员信息')">
          <div class="operation-icon">
            <i class="fa fa-pencil"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">编辑信息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已修改成员角色')">
          <div class="operation-icon">
            <i class="fa fa-key"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">修改角色</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已设置成员权限')">
          <div class="operation-icon">
            <i class="fa fa-shield"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">设置权限</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已转移部门')">
          <div class="operation-icon">
            <i class="fa fa-sitemap"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">转移部门</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item" onclick="showToast('已禁用账号')">
          <div class="operation-icon">
            <i class="fa fa-lock"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">禁用账号</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
      
      <div class="operation-card">
        <div class="operation-item danger-operation" onclick="showToast('已移除成员')">
          <div class="operation-icon">
            <i class="fa fa-times"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">移除成员</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- 样式3 - 分类分组布局 -->
  <div class="operation-page group-style" id="group">
    <!-- 沟通与查看 -->
    <div class="operation-group">
      <div class="operation-card">
        <div class="card-title">沟通与查看</div>
        <div class="operation-item" onclick="showToast('已发送消息')">
          <div class="operation-icon">
            <i class="fa fa-comment"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">发送消息</div>
            <div class="operation-desc">直接发送私信沟通</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        <div class="operation-item" onclick="showToast('已查看完整资料')">
          <div class="operation-icon">
            <i class="fa fa-user"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">查看完整资料</div>
            <div class="operation-desc">联系方式、入职时间等详细信息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 信息管理 -->
    <div class="operation-group">
      <div class="operation-card">
        <div class="card-title">信息管理</div>
        <div class="operation-item" onclick="showToast('已编辑成员信息')">
          <div class="operation-icon">
            <i class="fa fa-pencil"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">编辑成员信息</div>
            <div class="operation-desc">修改职位、部门等基本信息</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        <div class="operation-item" onclick="showToast('已转移部门')">
          <div class="operation-icon">
            <i class="fa fa-sitemap"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">转移至其他部门</div>
            <div class="operation-desc">当前部门: 产品部</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 权限管理 -->
    <div class="operation-group">
      <div class="operation-card">
        <div class="card-title">权限管理</div>
        <div class="operation-item" onclick="showToast('已修改成员角色')">
          <div class="operation-icon">
            <i class="fa fa-key"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">修改成员角色</div>
            <div class="operation-desc">普通成员 / 管理员</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        <div class="operation-item" onclick="showToast('已设置成员权限')">
          <div class="operation-icon">
            <i class="fa fa-shield"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">设置成员权限</div>
            <div class="operation-desc">管理、编辑、查看等权限分配</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 账号管理 -->
    <div class="operation-group">
      <div class="operation-card">
        <div class="card-title">账号管理</div>
        <div class="operation-item" onclick="showToast('已禁用账号')">
          <div class="operation-icon">
            <i class="fa fa-lock"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">暂时禁用证账号</div>
            <div class="operation-desc">限制登录，保留数据</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
        <div class="operation-item danger-operation" onclick="showToast('已移除成员')">
          <div class="operation-icon">
            <i class="fa fa-times"></i>
          </div>
          <div class="operation-info">
            <div class="operation-title">移除该成员</div>
            <div class="operation-desc">从企业中永久删除</div>
          </div>
          <div class="operation-arrow">
            <i class="fa fa-angle-right"></i>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- 样式4 - 操作表单布局 -->
  <div class="operation-page form-style" id="form">
    <!-- 成员基本信息编辑 -->
    <div class="operation-card">
      <div class="card-title">编辑成员信息</div>
      <div class="form-group">
        <label class="form-label">姓名</label>
        <input type="text" class="form-control" value="李婷">
      </div>
      <div class="form-group">
        <label class="form-label">职位</label>
        <input type="text" class="form-control" value="产品经理">
      </div>
      <div class="form-group">
        <label class="form-label">所属部门</label>
        <div class="options-group">
          <div class="option-item">技术部</div>
          <div class="option-item selected">产品部</div>
          <div class="option-item">市场部</div>
          <div class="option-item">运营部</div>
        </div>
      </div>
      <div class="form-group">
        <label class="form-label">成员角色</label>
        <div class="options-group">
          <div class="option-item selected">普通成员</div>
          <div class="option-item">管理员</div>
        </div>
      </div>
      <div class="form-actions">
        <button class="form-action-btn btn-normal" onclick="showToast('已取消编辑')">取消</button>
        <button class="form-action-action-btn btn-primary" onclick="showToast('已保存修改')">保存</button>
      </div>
    </div>
    
    <!-- 成员权限权限设置 -->
    <div class="operation-card">
      <div class="card-title">成员权限设置</div>
      
      <div class="permission-item">
        <div class="permission-info">
          <div class="permission-title">查看企业动态</div>
          <div class="permission-desc">允许查看企业公开动态和部门动态</div>
        </div>
        <label class="switch">
          <input type="checkbox" checked>
          <span class="slider"></span>
        </label>
      </div>
      
      <div class="permission-item">
        <div class="permission-info">
          <div class="permission-title">发布企业动态</div>
          <div class="permission-desc">代表企业发布官方动态</div>
        </div>
        <label class="switch">
          <input type="checkbox" checked>
          <span class="slider"></span>
        </label>
      </div>
      
      <div class="permission-item">
        <div class="permission-info">
          <div class="permission-title">管理部门成员</div>
          <div class="permission-desc">添加、移除部门成员</div>
        </div>
        <label class="switch">
          <input type="checkbox">
          <span class="slider"></span>
        </label>
      </div>
      
      <div class="permission-item">
        <div class="permission-info">
          <div class="permission-title">管理企业设置</div>
          <div class="permission-desc">修改企业资料和全局设置</div>
        </div>
        <label class="switch">
          <input type="checkbox">
          <span class="slider"></span>
        </label>
      </div>
      
      <div class="form-actions">
        <button class="form-action-btn btn-normal" onclick="showToast('已取消设置')">重置</button>
        <button class="form-action-btn btn-primary" onclick="showToast('已保存权限设置')">保存权限</button>
      </div>
    </div>
    
    <!-- 账号状态管理 -->
    <div class="operation-card">
      <div class="card-title">账号状态管理</div>
      
      <div class="permission-item">
        <div class="permission-info">
          <div class="permission-title">账号启用状态</div>
          <div class="permission-desc">关闭后将无法登录企业账号</div>
        </div>
        <label class="switch">
          <input type="checkbox" checked>
          <span class="slider"></span>
        </label>
      </div>
      
      <div class="form-actions">
        <button class="form-action-btn btn-danger" onclick="showToast('已移除成员')">移除该成员</button>
      </div>
    </div>
  </div>
  
  <!-- 底部操作栏 -->
  <div class="action-bar">
    <button class="action-btn btn-normal" onclick="showToast('已取消操作')">取消</button>
    <button class="action-btn btn-primary" onclick="showToast('已保存所有设置')">保存设置</button>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 获取元素
    const styleTabs = document.querySelectorAll('.style-tab');
    const operationPages = document.querySelectorAll('.operation-page');
    const backBtn = document.getElementById('backBtn');
    const moreBtn = document.getElementById('moreBtn');
    const toast = document.getElementById('toast');
    const optionItems = document.querySelectorAll('.option-item');
    
    // 样式切换
    styleTabs.forEach(tab => {
      tab.addEventListener('click', function() {
        // 移除所有激活状态
        styleTabs.forEach(t => t.classList.remove('active'));
        operationPages.forEach(page => page.classList.remove('active'));
        
        // 设置当前激活状态
        this.classList.add('active');
        const style = this.getAttribute('data-style');
        document.getElementById(style).classList.add('active');
        
        showToast(`已切换到${this.textContent}`);
      });
    });
    
    // 返回按钮
    backBtn.addEventListener('click', function() {
      showToast('返回成员列表');
    });
    
    // 更多按钮
    moreBtn.addEventListener('click', function() {
      showToast('更多选项');
    });
    
    // 选项选择
    optionItems.forEach(item => {
      item.addEventListener('click', function() {
        // 获取同组的其他选项并移除选中状态
        const siblings = this.parentElement.querySelectorAll('.option-item');
        siblings.forEach(sib => sib.classList.remove('selected'));
        
        // 设置当前选项为选中状态
        this.classList.add('selected');
        
        showToast(`已选择：${this.textContent}`);
      });
    });
    
    // 显示提示
    function showToast(message) {
      toast.textContent = message;
      toast.style.display = 'block';
      
      setTimeout(() => {
        toast.style.opacity = '0';
        setTimeout(() => {
          toast.style.display = 'none';
          toast.style.opacity = '1';
        }, 300);
      }, 2000);
    }
  </script>
</body>
</html>
